//
//  DrawGLKView.h
//  TQLSmartPen
//
//  Created by tql on 2017/10/20.
//  Copyright © 2017年 tqlZj. All rights reserved.
//

#import <UIKit/UIKit.h>

#import <GLKit/GLKit.h>

@interface DrawGLKView : GLKView

@property (nonatomic, strong) UIColor *strokeColor;
@property (nonatomic, assign) BOOL hasDraw;
@property (nonatomic, strong) UIImage *drawImage;

- (void)erase;
- (void)startWithScale:(float)scale
              offsetX:(float)offsetX
              offsetY:(float)offsetY
             penWidth:(int)penWidth
                    x:(float)pointX
                    y:(float)pointY
                force:(int)force;
- (void)moveWithScale:(float)scale
             offsetX:(float)offsetX
             offsetY:(float)offsetY
            penWidth:(int)penWidth
                   x:(float)pointX
                   y:(float)pointY
               force:(int)force;
- (void)end;

@end
